@charset "utf-8";
/* CSS Document */

.contenedor {
  width: 70%;
  /*     min-width: 1000px;
    min-height: 100vh; */
  margin: auto;
  display: flex;
  flex-direction: column;
  /* background-image: linear-gradient(to top, #144e52, white); */
}

b {
  color: rgb(255, 102, 0);
}

/* HEADER */
.header {
    width: 90%;
    height: 165px;
    border-radius: 5px;
    margin: auto;
    display: flex;
    align-items: center;
    background-image: url("..//imagenes/eg/header-eg.jpg");
}

.transparente {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    margin: auto;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.50);
}

.imagen_logo {
    width: 40%;
    position: relative;
    float: left;    
    margin-left: 1.5rem;
}

/* MENU */
.nav {
    width: 90%;
    height: 40px;
    margin-left:  5%;
    background: rgb(255, 102, 0);
    border-radius: 5px;
}

.btnNav {
    width: 150px;
    height: 40px;
    background-color: rgb(255, 102, 0);
    border: none;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    padding: 8px;
    margin-left: 5px;
    font-size: 18px;
}
.btnNav:hover {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.btnNavSelected {
    width: 150px;
    height: 40px;
    background-color: rgb(255, 102, 0);
    font-weight: bold;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    padding: 8px;
    margin-left: 5px;
    font-size: 18px;
    border-radius: 5px;
}
.btnNavSelected:hover {
    color: rgb(255, 102, 0);
    text-decoration: none;
    font-weight: bold;
}

/* EMPRESA */
.nosotros_partners {
  background-color: white;
}

.contenedor_bloque1 {
  width: 100%;
  height: 35rem;
  background-color: #144e52;
  background: url(../imagenes/eg/empresa.png);
  background-size: contain;
  background-position-x: center;
  background-position-y: top;
  background-repeat: no-repeat;
}

/* CAROUSEL */

.carousel {
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-propio {
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
}

.carousel-inner img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon,
.carousel-indicators {
  filter: invert(108%);
}

/* PRODUCTOS */

.contenedor_principal {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  /* grid-template-rows: 1fr 1fr; */
  row-gap: 0.5rem;
  grid-auto-flow: row; /* define si hay mas que agregar si lo hace en filas o en columnas */
}

.contenedor_1 {
  /* background-color: gray; */
  justify-items: center;
}

.contenedor_2 {
  /* background-color: orange; */
  justify-items: center;
}

.contenedor_3 {
  /* background-color: red; */
  justify-items: center;
}

.contenedor_4 {
  /* background-color: violet; */
  justify-items: center;
}

.contenedor_5 {
  /* background-color: yellowgreen; */
  justify-items: center;
}

.contenedor_6 {
  /* background-color: purple; */
  justify-items: center;
}

.contenedor_7 {
  /* background-color: skyblue; */
  justify-items: center;
}

.contenedor_8 {
  /* background-color: blue; */
  justify-items: center;
}

/* PRODUCTOS CARTAS */
.card-plus {
  width: 15rem;
  padding: 0.5rem;
  margin: 0.2rem;
}

.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}

.btn-primary {
  background-color: #144e52 !important;
  border-color: #144e52 !important;
  color: rgb(255, 102, 0) !important;
}

.btn-primary:hover {
  color: white !important;
}

/* PRODUCTOS -> AMPLIADOS  */

.galeria {
  width: 100%;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.contenedor-imagenes {
  display: flex;
  width: 85%;
  margin: auto;
  justify-content: space-around;
  flex-wrap: wrap;
  border-radius: 10px;
}

.imagen {
  width: 100%;
  height: 100%;
  position: relative;
  max-height: 250px;
  margin: 5px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
  background-color: white;
  overflow: hidden;
}

.imagen img {
  width: auto;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: relative;
  display: inline-block;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(255, 102, 0, 0.75);
  width: 100%;
  height: 20%;
  transition: 0.5s ease;
  overflow: hidden;
}

.overlay h2 {
  color: #ffffff;
  font-weight: 200;
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.imagen:hover .overlay {
  height: 100%;
  cursor: pointer;
}

.light-box {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0);
}

.light-box img {
  /*   width: 60%; */
  height: 60%;
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  max-height: 90vh;
}

.light-box:target {
  transform: scale(1);
}

.close_amp {
  display: flex;
  position: absolute;
  bottom: 15%;
  color: rgb(255, 102, 0);
  text-decoration: none;
  text-align: center;
  font-weight: bold;
}

.close_amp:hover {
  color: white;
}

.light-box iframe {
  width: 60%;
  height: 75%;
  position: absolute;
  top: 5%;
  left: 50%;
  text-align: center;
  transform: translate(-50%);
  max-height: 90vh;
}

/* NOVEDADES */
video {
  height: 10rem;
}

.video {
  width: 100%;
  height: auto;
  padding-left: 0.5rem;
}

.pienovedades-titulo {
  padding-top: 0.5rem;
  font-size: 20px;
  font-weight: bold;
  color: rgb(255, 102, 0);
}

.pienovedades-text {
  color: gray;
  font-size: 14px;
  font-style: italic;
  font-weight: normal;
}


/* //////////////////////// */
/* ////////// Pie ///////// */
/* //////////////////////// */

.pie {
    width: 90%;
    height: 120px;
    border-radius: 5px;
    margin: auto;
    background-color: rgb(255, 102, 0);
/*     background: #E6E6E6; */
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-items: center; 
}

.pielogo {
    width: 15%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-items: center; 
}

.pieimagen {
    height: 90%;
    margin-left: 1.5rem;
}

.pietexto {
    width: 85%;
    height: 100px;
    margin-right: 1.5rem;
    color: white;
    font-size: 14px;
    text-align: right;
    align-items: center;
}

.pietexto a {
    color:  white;
    text-decoration:none;
}

.pietexto a:hover {
    font-weight: bold;
    color: white;
    text-decoration:none;
}

h3.section-title {
    width: 90%;
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom:20px;
    background-color: rgb(255, 102, 0);
    color: white;
    border-radius: 5px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.gallery {
    width: 90%;
    margin-left: 5%;
    place-items: center;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    padding-bottom: 20px; 
}

.gallery img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 300px;
    padding: 10px;
    border-radius:25px;
    transition:transform .3s;
}

.gallery img:hover {
    transform:scale(1.05);
}

/* -------------------------------------------------------------------- */

@media (max-width: 600px) {
  .container {
    display: grid;
    /* background-color: green; */
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 0.5em 0.5em;
    grid-auto-flow: row;
    grid-template-areas:
      "contenedor_1"
      "contenedor_2"
      "contenedor_3"
      "contenedor_4"
      "contenedor_5"
      "contenedor_6"
      "contenedor_7"
      "contenedor_8";
  }

  .contenedor {
    min-width: 400px;
  }

  .cabecera_logo {
    width: 100%;
    height: 10vh;
    background: url(../imagenes/eg/potenciate.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: center;
    background-size: contain;
  }

  .nav_menu {
    height: 10rem;
    width: auto;
    flex-direction: column;
    align-items: center;
    justify-content: start;
  }

  .contenedor_bloque1 {
    height: 40vh;
  }

  .contenedor_bloque2 {
    height: 40vh;
  }

  .btn_nav {
    width: auto;
    height: 40px;
    border: none;
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
  }
}